package com.efast.dmom.mgmt.controller.mes.qm;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.bean.mes.qm.AfterQualityBean;
import com.efast.dmom.mgmt.service.mes.qm.AfterQualityService;

@Controller
@RequestMapping(value = "/afterQualityController")
public class AfterQualityController {
	
	@Autowired
	private AfterQualityService afterQualityService;
	
	@RequestMapping(value = "/verifyRepetition")
	public @ResponseBody ResultBean verifyRepetition(@RequestBody AfterQualityBean afterQualityBean) {
		return afterQualityService.verifyRepetition(afterQualityBean);
	}

}
